package com.canal.display.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author yangbo
 * @date 2020-07-31 11:31
 */
@Controller
public class PageController {

    /**
     * 首页路由
     * @return
     */
    @RequestMapping(value = "/index")
    public String index() {
        return "index";
    }

    /**
     *
     * @return
     */
    @RequestMapping(value = "/")
    public String enter() {
        return  "redirect:index";
    }
}
